.scroll {
	white-space: nowrap;
}
// 3D轮播样式
.imageContainer {
	width: 100%;
	height: 340rpx;
}
.swiperitem {
	height: 340rpx ;
	box-sizing: border-box;
	position: relative;
}
.sign,
.sign-icon{
	left: 0;
	top: 0;
}
.sign-icon{
	width: 64rpx;
	height: 64rpx;
}
.sign {
	padding: 0 !important;
	transform: scale(0.5);
	transform-origin: top left;
	background-size: 100%;
	background-repeat:no-repeat;
	z-index: $z-index-normal;
}

.price {
	text {
		&:first-child {
			font-size: 24rpx;
		}
		&:last-child {
			font-size: 32rpx;
			line-height: 44rpx;
		}
	}
}
.sales {
	font-size: 24rpx;
}
.scribe {
	font-size: 24rpx;
	line-height: 34rpx;
	height: 34rpx;
	&::after {
		content: '';
		width: 100%;
		height: 1rpx;
		background-color: var(--color);
		position: absolute;
		top: 16rpx;
		left: 0;
	}
}
.text-button,
.add-icon-button,
.car-icon-button,
.car-icon-button-circular {
	right: 20rpx;
	bottom: 20rpx;
}
.text-button {
	width: 126rpx;
	height: 50rpx;
	padding: 8rpx 36rpx;
	font-size: 26rpx;
	// line-height: 36rpx;
}
.add-icon-button,
.car-icon-button-circular {
	width: 48rpx;
	height: 48rpx;
	border-radius: 50%;
	line-height: 48rpx;
}
.car-icon-button {
	text {
		font-size: 48rpx;
	}
}
.layout1 {
	flex: 1;
	.goods-img-wrapper {
		width: 100%;
		height: 324rpx !important;
	}
	.goods-img {
		width: 100%;
		height: 324rpx !important;
	}
	.goods-body{
		padding: 20rpx;
		.goods-title{
			margin-bottom: 10rpx;
		}
		.goods-price {
			display: flex;
			.price {
				margin-right: 20rpx;
			}
			.scribe {
				margin-right: 40rpx;
				margin-top: auto;
			}
			.sales {
				margin-top: auto;
			}
		}
	}
}
.layout2 {
	flex: 1;
	display: flex;
	.goods-img-wrapper {
		width: 260rpx !important;
	}
	.goods-img {
		width: 260rpx !important;
		height: 260rpx !important;
	}
	.goods-body {
		flex: 1;
		padding: 20rpx;
		display: flex;
		flex-direction: column;
		overflow: hidden;
		.goods-title{
			flex: 1;
			overflow: hidden;
			display: -webkit-box;
			-webkit-line-clamp: 2;
			-webkit-box-orient: vertical;
			font-size: 26rpx;
			line-height: 36rpx;
			word-break: break-all;
		}
		.goods-price {
			.scribe {
				display: inline-block;
			}
		}
	}
}
.layout3 {
	width: calc((100% - var(--margin))/2);
	// flex: 0 0 calc((100% - var(--margin))/2);
	&:nth-child(2n) {
		margin-right: 0 !important;
	}
	>view{
		display: flex;
		
	}
	.goods-img {
		flex: 0 0 160rpx ;
		// width:160rpx !important;
		height:160rpx !important;
	}
	.goods-body {
		padding: 10rpx;
		flex: 1;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		overflow: hidden;
		.goods-title {
			overflow: hidden;
			display: -webkit-box;
			-webkit-line-clamp: 2;
			-webkit-box-orient: vertical;
			font-size: 26rpx;
			line-height: 36rpx;
			// height: 72rpx;
			word-break: break-all;
		}
	}
	
}
.layout4 {
	// flex: 0 0 calc((100% - var(--margin))/2);
	width: calc((100% - var(--margin))/2);
	&:nth-child(2n) {
		margin-right: 0 !important;
	}
	.goods-img {
		width: 100%;
		height: 344rpx !important;
	}
	.goods-body{
		padding: 16rpx;
		min-height: 194rpx;
		display: flex;
		flex-direction: column;
		.goods-title{
			flex: 1;
			overflow: hidden;
			display: -webkit-box;
			-webkit-line-clamp: 2;
			-webkit-box-orient: vertical;
			word-break: break-all;
			font-size: 26rpx;
		}
		.goods-price {
			margin-top: 24rpx;
		}
	}
}

.layout5 {
	width: calc((100% - var(--margin) - var(--margin))/3);
	&:nth-child(3n) {
		margin-right: 0 !important;
	}
	.goods-img {
		width: 100%;
		height: 224rpx !important;
	}
	.goods-body {
		padding: 12rpx 10rpx 0 20rpx;
		.goods-title {
			white-space:normal;
			overflow: hidden;
			display: -webkit-box;
			-webkit-line-clamp: 2;
			-webkit-box-orient: vertical;
			word-break: break-all;
			font-size: 26rpx;
			line-height: 36rpx;
			height: 72rpx;
			
		}
		.goods-price {
			margin-top: 36rpx;
		}
	}
}
.layout6 {
	width: 200rpx;
	display: inline-block;
	// &:last-child {
	// 	margin-right: 0 !important;
	// }
	.goods-img {
		width: 200rpx !important;
		height: 200rpx !important;
	}
	.goods-body {
		width: 200rpx;
		padding: 10rpx;
		.goods-title {
			white-space:normal;
			overflow: hidden;
			display: -webkit-box;
			-webkit-line-clamp: 2;
			-webkit-box-orient: vertical;
			word-break: break-all;
			font-size: 26rpx;
			line-height: 36rpx;
			height: 72rpx;
		}
	}
}
.activeSwiperitem{
	.layout7{
		transform:scale(1);
	}
}
.layout7 {
	height: 330rpx;
	transform:scale(0.95);
	transition: transform ease-in-out .3s;
	// width: calc((750rpx - var(--paddingX) - var(--margin) - var(--margin))/3) !important;
	// // flex: 0 0 calc((100% - var(--margin) - var(--margin))/3);

	.goods-img-wrapper {
		width: 100%;
		height: 226rpx !important;
	}
	.goods-img {
		width: 100%;
		height: 226rpx !important;
	}
	.goods-body {
		width: 100%;
		height: 104rpx;
		padding: 12rpx 20rpx 0 20rpx;
		.goods-title {
			overflow: hidden;
			text-overflow: ellipsis;
			white-space: nowrap;
			font-size: 26rpx;
			line-height: 36rpx;
		}
		.goods-price {
			margin-top: 10rpx;
		}
	}
}

.badge-size0 {
	font-size: 120rpx;
}
.badge-size1 {
	font-size: 90rpx;
}
.badge-size2 {
	font-size: 90rpx;
}
.badge-text {
	position: absolute;
	z-index: 2;
	top: 0;
	left: 0;
	transform-origin: top left;
	transform: translate(20%, 20%)
}

.explain{
	width: 100%;
	padding: 0 20rpx;
	line-height: 60rpx;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	left: 0;
	bottom: 0;
}